// **************平台接口定义platformApi**********
// import Rest from '@/utils/Rest.js'
// 业务请求方法自定义
// -------------------------------------------------
// 系统自定义请求方法文件
import SysUserRest from '@/api/platform/SysUserRest'
import SysOrgRest from '@/api/platform/SysOrgRest'
import SysRoleRest from '@/api/platform/SysRoleRest'
import SysRoleMenuRest from '@/api/platform/SysRoleMenuRest'
import SysParamRest from '@/api/platform/SysParamRest'
import SysMenuRest from '@/api/platform/SysMenuRest'
import SysLogRest from '@/api/platform/SysLogRest'
import SysDictRest from '@/api/platform/SysDictRest'
import SysDictDetailRest from '@/api/platform/SysDictDetailRest'

const SUB_SYSTEM = 'pf'
// 系统用户
const sysUserRest = new SysUserRest(SUB_SYSTEM)
// 系统机构
const sysOrgRest = new SysOrgRest(SUB_SYSTEM)
// 系统角色
const sysRoleRest = new SysRoleRest(SUB_SYSTEM)
// 系统角色菜单
const sysRoleMenuRest = new SysRoleMenuRest(SUB_SYSTEM)
// 系统参数
const sysParamRest = new SysParamRest(SUB_SYSTEM)
// // 系统菜单
const sysMenuRest = new SysMenuRest(SUB_SYSTEM)
// 系统日志
const sysLogRest = new SysLogRest(SUB_SYSTEM)
// 系统数据字典
const sysDictRest = new SysDictRest(SUB_SYSTEM)
// 系统数据字典
const sysDictDetailRest = new SysDictDetailRest(SUB_SYSTEM)

// 导出名称为 “接口名+Api”
export {
  sysUserRest as sysUser,
  sysOrgRest as sysOrg,
  sysRoleRest as sysRole,
  sysRoleMenuRest as sysRoleMenu,
  sysParamRest as sysParam,
  sysMenuRest as sysMenu,
  sysLogRest as sysLog,
  sysDictRest as sysDict,
  sysDictDetailRest as sysDictDetail
}
